<div class="top-img">
	<div class="ssk">
		<input name="ss" class="ss" maxlength="250" name="wd" id="search_wd" value="{$wd}" placeholder="搜索您需要的服务" />
		<input type="submit" value="" class="an" id="search_it" />
	</div>
</div>

<!--TODO 修改Js位置,搜索按钮-->
<script language="javascript" type="text/javascript" src="__PUBLIC__/js/jquery-1.7.2.min.js"></script>
<script>
	$(function() {
		$("#search_it").click(function() {
			window.location.href = "/Index/search.html?wd=" + $("#search_wd").val();
		});

		$('#search_wd').bind('keypress', function(event) {
			if(event.keyCode == "13") {
				window.location.href = "/Index/search.html?wd=" + $("#search_wd").val();
			}
		});
	});
</script>
<!--TODO end-->